package wangxiaotao.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import wangxiaotao.entity.Permission;
import wangxiaotao.mapper.PermissionMapper;
import wangxiaotao.service.PermissionService;

/**
 * <p>
 * 资源权限表（目录及功能菜单） 服务实现类
 * </p>
 *
 * @author wang
 * @since 2022-03-22
 */
@Service
@RequiredArgsConstructor
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements PermissionService {
//
//    private final PermissionMapper permissionMapper;
//
//    @Override
//    public List<MenuDTO> queryAllMenusByRole(Integer roleId) {
//        return permissionMapper.queryAllMenusByRole(roleId);
//    }
}
